package com.isdepci.project.carbon.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 切焊加热对象 b_weld_heat_emission
 *
 * @author isdepci
 * @date 2025-03-29
 */
public class BWeldHeatEmission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 项目代码 */
    //@Excel(name = "项目代码")
    private Long projectId;

    /** 名称 */
    @Excel(name = "名称")
    private String iname;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Integer activityType;

    /** 消耗量 */
    @Excel(name = "消耗量")
    private BigDecimal consumption;

    /** 纯度 */
    @Excel(name = "纯度")
    private BigDecimal purity;

    /** 燃烧效率 */
    @Excel(name = "燃烧效率")
    private BigDecimal burnEfficiency;

    /** 排放因子 */
    @Excel(name = "排放因子")
    private BigDecimal emissionFactor;

    /** 使用重量(前) */
    @Excel(name = "使用重量(前)")
    private BigDecimal weightBefore;

    /** 使用重量(后) */
    @Excel(name = "使用重量(后)")
    private BigDecimal weightAfter;

    /** 气瓶总数 */
    @Excel(name = "气瓶总数")
    private Long totalBottles;

    /** 活动总数 */
    @Excel(name = "活动总数")
    private Long totalActivities;

    /** 碳排放量 */
    //@Excel(name = "碳排放量")
    private BigDecimal carbonEmissions;

    /** 值类型 */
    @Excel(name = "值类型")
    private Integer valueType;

    /** 附件地址 */
    //@Excel(name = "附件地址")
    private String accessoryUrl;

    /** 附件名称 */
    //@Excel(name = "附件名称")
    private String accessoryName;

    public String getAccessoryName() {
        return accessoryName;
    }

    public void setAccessoryName(String accessoryName) {
        this.accessoryName = accessoryName;
    }

    public Integer getValueType() {
        return valueType;
    }

    public void setValueType(Integer valueType) {
        this.valueType = valueType;
    }

    public String getAccessoryUrl() {
        return accessoryUrl;
    }

    public void setAccessoryUrl(String accessoryUrl) {
        this.accessoryUrl = accessoryUrl;
    }

    public BigDecimal getCarbonEmissions() {
        return carbonEmissions;
    }

    public void setCarbonEmissions(BigDecimal carbonEmissions) {
        this.carbonEmissions = carbonEmissions;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public String getIname() {
        return iname;
    }

    public void setIname(String iname) {
        this.iname = iname;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public void setActivityType(Integer activityType)
    {
        this.activityType = activityType;
    }

    public Integer getActivityType()
    {
        return activityType;
    }
    public void setConsumption(BigDecimal consumption)
    {
        this.consumption = consumption;
    }

    public BigDecimal getConsumption()
    {
        return consumption;
    }
    public void setPurity(BigDecimal purity)
    {
        this.purity = purity;
    }

    public BigDecimal getPurity()
    {
        return purity;
    }
    public void setBurnEfficiency(BigDecimal burnEfficiency)
    {
        this.burnEfficiency = burnEfficiency;
    }

    public BigDecimal getBurnEfficiency()
    {
        return burnEfficiency;
    }
    public void setEmissionFactor(BigDecimal emissionFactor)
    {
        this.emissionFactor = emissionFactor;
    }

    public BigDecimal getEmissionFactor()
    {
        return emissionFactor;
    }
    public void setWeightBefore(BigDecimal weightBefore)
    {
        this.weightBefore = weightBefore;
    }

    public BigDecimal getWeightBefore()
    {
        return weightBefore;
    }
    public void setWeightAfter(BigDecimal weightAfter)
    {
        this.weightAfter = weightAfter;
    }

    public BigDecimal getWeightAfter()
    {
        return weightAfter;
    }
    public void setTotalBottles(Long totalBottles)
    {
        this.totalBottles = totalBottles;
    }

    public Long getTotalBottles()
    {
        return totalBottles;
    }
    public void setTotalActivities(Long totalActivities)
    {
        this.totalActivities = totalActivities;
    }

    public Long getTotalActivities()
    {
        return totalActivities;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("activityType", getActivityType())
            .append("consumption", getConsumption())
            .append("purity", getPurity())
            .append("burnEfficiency", getBurnEfficiency())
            .append("emissionFactor", getEmissionFactor())
            .append("weightBefore", getWeightBefore())
            .append("weightAfter", getWeightAfter())
            .append("totalBottles", getTotalBottles())
            .append("totalActivities", getTotalActivities())
            .toString();
    }
}
